home *** CD-ROM | disk | FTP | other *** search
/ Freelog Special Edition 13 / FreelogHS13.iso / P To P / Emule24b_Morph_Mod_V4b-binary / Webserver / Login.emule < prev    next >
Text File  |  2003-01-10  |  2KB  |  35 lines

  1. <html>
  2.  <head>
  3.   <title>eMule</title>
  4.  </head>
  5.  <body style="background-image:url(images/about.gif); background-attachment:fixed; background-repeat:no-repeat; background-position: center center;" onresize="resize();">
  6.   <form action="login.emule" id="loginform" method="post">
  7.    <a id="tx_username" style="font-size: x-small;position:absolute;">Username</a>
  8.    <input name="in_username" type="text" style="position:absolute;border: solid, 1, black; font-size: xx-small;" size="20" maxlength="255"/>
  9.    <a id="tx_password" style="font-size: x-small;position:absolute;">Password</a>
  10.    <input name="in_password" type="password" style="border: solid, 1, black; font-size: xx-small;position:absolute;" size="20" maxlength="255"/>
  11.    <input id="bt_login" type="submit" style="border: solid, 1, black; font-size: xx-small;position:absolute;" value="Login"/>
  12.   </form>
  13.  </body>
  14. </html>
  15. <script>
  16. resize();
  17. function resize()
  18. {
  19.   wW=document.body.clientWidth;
  20.   wH=document.body.clientHeight;
  21.  
  22.   tx_username.style.left=wW/2-170;
  23.   tx_username.style.top=wH/2+140;
  24.   document.getElementsByName("in_username")[0].style.left=wW/2-170;
  25.   document.getElementsByName("in_username")[0].style.top=wH/2+160;
  26.  
  27.   tx_password.style.left=wW/2-10;
  28.   tx_password.style.top=wH/2+140;
  29.   document.getElementsByName("in_password")[0].style.left=wW/2-10;
  30.   document.getElementsByName("in_password")[0].style.top=wH/2+160;
  31.  
  32.   document.getElementById("bt_login").style.left=wW/2+130;
  33.   document.getElementById("bt_login").style.top=wH/2+158;
  34. }
  35. </script>